"""visites URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/2.0/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.urls import path

from app.delivery import views

urlpatterns = [
    # 配送表、账户信息列表
    path('listCommunity', views.qurey_list),
    # 添加社区地址
    path('addCommunity', views.add_community),
    # 添加账户地址
    path('addAccount', views.add_account),
    # 添加配送点地址
    path('addPoint', views.add_point),
    # 设置密码地址
    path('setPassword', views.set_password),
    # 更新配送点状态地址
    path('updateStatus', views.update_status),
]
